<jsp:include page="header.jsp" />


<script type='text/javascript'
	src='http://code.jquery.com/jquery-1.6.4.js'></script>
<script type="text/javascript"
	src="/UBCDatingServer/jgrowl/jquery.jgrowl.js"></script>
<script type='text/javascript' src='/UBCDatingServer/InboxUpdates.js'></script>

<h1 id="title">Mailbox</h1>

<!-- Three columns -->
<div class="content box">

	<div class="content-in box">
		<div class="fillSpace">
			<p class="nomb">
				<input type="button" value="New Message" class="input-submit"
					onclick="location.href='createMessage.jsp'" />
			</p>
			<table id='MsgTable' class="msgTable">
				<tr>
					<th>From</th>
					<th>Message</th>
					<th>date</th>
				</tr>

			</table>
		<a id="prev">  &#171; Prev</a> <div id="next" >Next &#187;</div> 
<!-- 		<script> -->
<!-- 		$('#next').click(function(){ -->
<!-- 			alert("test"); -->
<!-- 			start = start + 8; -->
<!-- 			getUpdates(window.userID); -->
		    
<!-- 		}); -->
<!-- 		</script> -->
		</div>

		<h2>
			<!-- /col50 -->
		</h2>
		<div class="fix"></div>

	</div>
	<!-- /content-in -->

	<div class="content-bottom"></div>

</div>
<!-- /content -->

<!-- Footer -->
<div id="footer" class="box">


	<!-- Footer -->
	<div id="footer" class="box">

		<!-- DON´T REMOVE THIS LINE -->
		<p class="f-right">
			<a href="settings.html">My Settings</a>
		</p>

		<p class="f-left">
			&copy;&nbsp;2009 <a href="#">Brandon, Alan, Mike, Roger</a>
		</p>

	</div>
	<!-- /footer -->
</div>

<div id='myID' style='display: none'><%=session.getAttribute("userID")%></div>

</body>
</html>